package com.jch.helloworld.configBeans.spel;

public class Oper {

    private int val;
    private int add;
    private int reduce;
    private int ride;
    private double except;
    private int surplus;
    private long power;
    private String str;

    public Oper() {
    }

    public int getVal() {
        return val;
    }

    public void setVal(int val) {
        this.val = val;
    }

    public int getAdd() {
        return add;
    }

    public void setAdd(int add) {
        this.add = add;
    }

    public int getReduce() {
        return reduce;
    }

    public void setReduce(int reduce) {
        this.reduce = reduce;
    }

    public int getRide() {
        return ride;
    }

    public void setRide(int ride) {
        this.ride = ride;
    }

    public double getExcept() {
        return except;
    }

    public void setExcept(double except) {
        this.except = except;
    }

    public int getSurplus() {
        return surplus;
    }

    public void setSurplus(int surplus) {
        this.surplus = surplus;
    }

    public long getPower() {
        return power;
    }

    public void setPower(long power) {
        this.power = power;
    }

    public String getStr() {
        return str;
    }

    public void setStr(String str) {
        this.str = str;
    }

    public Oper(int val, int add, int reduce, int ride, double except, int surplus, long power, String str) {
        this.val = val;
        this.add = add;
        this.reduce = reduce;
        this.ride = ride;
        this.except = except;
        this.surplus = surplus;
        this.power = power;
        this.str = str;
    }

    @Override
    public String toString() {
        return "Oper{" +
                "val=" + val +
                ", add=" + add +
                ", reduce=" + reduce +
                ", ride=" + ride +
                ", except=" + except +
                ", surplus=" + surplus +
                ", power=" + power +
                ", str='" + str + '\'' +
                '}';
    }

}
